.landing {
    padding: 0;
    text-align: center;
    h1 {
        color: $main-color;
        font-size: 30px;
        font-weight: 400;
        margin: 0;
    }
    h3 {
        font-size: 26px;
        font-weight: 400;
        margin: 0;
    }
    [class*="block-"]{
        border-bottom: 1px solid $bd-color;
    }
    .block-1 {
        position: relative;
        padding: 30px 10px 250px;
        background-image: url('../content/earth.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        overflow: hidden;
        @include boxSizing(border-box);
        
        header {
            padding: 20px 0 40px;
        }
        .circle {
            margin: 0 auto;
            width: 40px;
            height: 40px;
            background-color: #FFF;
            @include borderRadius(50%);
        }
        .subheader {
            color: #FFF;
            margin-top: 10px;
            font-size: 30px;
        }
        .main-color-btn {
            margin: 0 auto 20px;
            width: 220px;
            border: none;
            height: 40px;
            line-height: 40px;
            font-size: 18px;
            @include borderRadius(30px);
        }
        .link-ca {
            display: inline-block;
            padding: 4px;
            border-bottom: 1px solid rgba(#FFF, .5);
            line-height: 20px;
            color: #FFF;
        }
        .table-mockup {
            position: absolute;
            right: 0;
            top: 100%;
            left: 0;
            margin-top: -220px;
            text-align: center;
            img {
                max-width: 90%;
                vertical-align: top;
            }
        }
    }
    .block-2 {
        padding: 65px 10px;
        header {
            margin: 0 auto 45px;
            max-width: 780px;
        }
        .subheader {
            color: $gray;
            margin-top: 20px;
            font-size: 16px;
            line-height: 26px;
        }
        .feature {
            display: inline-block;
            padding: 20px;
            width: 100%;
            @include boxSizing(border-box);
            .feature-img {
                margin: 0 auto;
                width: 140px;
                height: 140px;
                background-color: $bd-color;
                @include borderRadius(50%);
            }
            h4 {
                margin: 25px 0 10px;
                font-size: 18px;
                font-weight: 400;
            }
            p {
                font-size: 14px;
                line-height: 26px;
                color: $gray;
            }
        }
    }
    
    .block-3 {
        padding: 75px 10px;
        .actions {
            margin-top: 30px;
        }
        .main-color-btn {
            margin: 0 auto 20px;
            width: 220px;
            border: none;
            height: 40px;
            line-height: 40px;
            font-size: 18px;
            @include borderRadius(30px);
            @include boxShadow(1px 1px 5px -1px rgba(0,0,0,0.5));
        }
        .link-ca {
            display: inline-block;
            padding: 4px;
            border-bottom: 1px solid $main-color;
            font-size: 14px;
            line-height: 18px;
            color: $main-color;
        }
    }
    
    .block-4 {
        padding: 30px 0;
        p {
            font-size: 12px;
            color: $gray;
        }
        .sponsor {
            display: inline-block;
            margin: 10px;
            width: 80px;
            height: 80px;
            background-color: $bd-color;
        }
    }
    
    .block-5 {
        padding: 75px 10px 70px;
        background-image: url('../content/stars.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-attachment: fixed;
        p {
            margin: 20px auto 25px;
            max-width: 580px;
            color: #FFF;
            font-size: 14px;
            line-height: 22px;
        }
        .main-color-border-btn {
            display: inline-block;
            padding: 0 15px;
            color: #FFF;
            font-size: 14px;
            line-height: 28px;
            height: 30px;
            @include borderRadius(15px);
        }
    }
    footer {
        padding: 10px;
        p {
            font-size: 12px;
            line-height: 20px;
        }
        a {
            font-weight: 600;
            @include transition(.2s);
            &:hover, &:focus {
                color: #9BC01F;
            }
        }
    }
}

#log-in-modal {
    .modal-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 10px;
        overflow-y: auto;
        text-align: center;
        background-color: rgba(0,0,0,.4);
    }
    .modal-box {
        background-color: #FFF;
        border: 1px solid $bd-color;
        @include borderRadius(5px);
    }
    .tabs {
        background-color: #ECF0F1;
        height: 40px;
        text-align: left;
        @include transition(.25s);
        button {
            border: none;
            padding: 0px 15px;
            line-height: 40px;
            font-size: 14px;
            font-weight: 700;
            background-color: #ECF0F1;
        }
        .close-modal {
            float: right;
            padding: 0;
            width: 40px;
            background-color: transparent;
        }
    }
    form {
        text-align: left;
        padding: 10px;
        width: 290px;
        @include boxSizing(border-box);
        label {
            display: block;
            font-size: 14px;
            line-height: 26px;
            color: $gray;
        }
        input {
            display: block;
            width: 100%;
            border: 1px solid $bd-color;
            @include borderRadius(5px);
        }
        .formfield {
            padding: 10px;
        }
    }
    .sign-in {
        display: none;
        button {
            display: inline-block;
            vertical-align: top;
        }
        a {
            display: inline-block;
            margin-left: 15px;
            font-size: 12px;
            color: $dark-gray;
            line-height: 30px;
            vertical-align: top;
        }
    }
    .create {
        display: none;
        button {
            width: 100%;
        }
    }
    &[data-selected="sign-in"]{
        .tabs {
            button[data-form="sign-in"] {
                background-color: #FFF;
            }
        }
        .sign-in {
            display: block;
        }
    }
    &[data-selected="create"]{
        .tabs {
            background-color: #FFF;
            button[data-form="create"] {
                background-color: #FFF;
            }
        }
        .create {
            display: block;
        }
    }
}

@media screen and (min-width: $vw-xsmall){
    .landing {
        .block-4 {
            .sponsor {
                margin: 15px 20px;
                width: 100px;
                height: 100px;
            }
        }
    }
}

@media screen and (min-width: $vw-small){
    .landing {
        h1 {
            font-size: 40px;
        }
        .block-1 {
            padding-bottom: 330px;
            .subheader {
                font-size: 30px;
            }
            .table-mockup {
                margin-top: -300px;
            }
        }
        .block-2 {
            .feature {
                width: 33.33333%;
            }
        }
        .block-4 {
            .sponsor {
                margin: 15px 30px;
            }
        }
    }
}